package com.medical.project.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.medical.framework.aspectj.lang.annotation.Excel;
import com.medical.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 慢性病证管理对象 t_ill_card
 * 
 * @author tale
 * @date 2020-06-16
 */
public class DiseaseCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 慢性病证编号 */
    private String illCardNo;

    /** 参合证号 */
    @Excel(name = "参合证号")
    private String joinNhCode;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idcard;

    /** 疾病名称 */
    @Excel(name = "疾病名称")
    private String illCode;

    /** 起始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDay;

    /** 终止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "终止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDay;

    /** 区域编码 */
    @Excel(name = "区域编码")
    private String areacode;

    /** $column.columnComment */
    @Excel(name = "区域编码")
    private String userId;

    public void setIllCardNo(String illCardNo) 
    {
        this.illCardNo = illCardNo;
    }

    public String getIllCardNo() 
    {
        return illCardNo;
    }
    public void setJoinNhCode(String joinNhCode) 
    {
        this.joinNhCode = joinNhCode;
    }

    public String getJoinNhCode() 
    {
        return joinNhCode;
    }
    public void setIdcard(String idcard) 
    {
        this.idcard = idcard;
    }

    public String getIdcard() 
    {
        return idcard;
    }
    public void setIllCode(String illCode) 
    {
        this.illCode = illCode;
    }

    public String getIllCode() 
    {
        return illCode;
    }
    public void setStartDay(Date startDay) 
    {
        this.startDay = startDay;
    }

    public Date getStartDay() 
    {
        return startDay;
    }
    public void setEndDay(Date endDay) 
    {
        this.endDay = endDay;
    }

    public Date getEndDay() 
    {
        return endDay;
    }
    public void setAreacode(String areacode) 
    {
        this.areacode = areacode;
    }

    public String getAreacode() 
    {
        return areacode;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("illCardNo", getIllCardNo())
            .append("joinNhCode", getJoinNhCode())
            .append("idcard", getIdcard())
            .append("illCode", getIllCode())
            .append("startDay", getStartDay())
            .append("endDay", getEndDay())
            .append("areacode", getAreacode())
            .append("userId", getUserId())
            .toString();
    }
}
